package domain.service.base;

import domain.dao.base.ExecutionLogDao;
import domain.entity.ExecutionLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by bowen on 2017-08-14.
 */
@Service
public class ExecutionLogService {

    @Autowired
    private ExecutionLogDao executionLogDao;

    public List<ExecutionLog> getExecutionLogList() {
        return executionLogDao.getExecutionLogList();
    }

    public void insert(ExecutionLog executionLog){
        executionLogDao.insert(executionLog);
    }
}
